package com.guhecloud.step.definition.test.flow.form.exception;


public interface FlowErrorReason {
    enum StartProcessInstance implements FlowErrorSpec {

        PROCESS_DEFINITION_KEY_NOT_FIND("111","流程定义key未找到"),
        FORM_KEY_NOT_FIND("11","表单key定义未找到");


        private final String code;
        private final String message;

        StartProcessInstance(String code, String message) {
            this.code = code;
            this.message = message;
        }

        @Override
        public String code() {
            return code;
        }

    }
}
